import { login, logout, getInfo } from '@/api/user'
import { getToken, setToken, removeToken } from '@/utils/auth'
import router, { resetRouter } from '@/router'

const state = {
  // 页面文档可视高度(随窗口改变大小)
  documentClientHeight: 0
}

const mutations = {
  SET_DOCUMENTCLIENTHEIGHT: (state, documentClientHeight) => {
    state.documentClientHeight = documentClientHeight
  }
}

const actions = {}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}